package com.changhongit.controller;

import com.changhongit.common.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Api(tags = "测试接口")
@RequestMapping({"/", "/index.html"})
public class HelloController {
    @ApiOperation("hello接口")
    @GetMapping
    public String hello(){
        return "index";
    }

}
